/*
 * Copyright 2025 arisgo@163.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.arisgo.cloud.attendance.clazz.vo;

import com.arisgo.cloud.web.model.NumberId;
import java.sql.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 员工
 *
 * @author Coulson
 * @since 2024-12-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "员工信息")
public class StaffVo extends NumberId {

    /**
     * 租户
     */
    @Schema(name = "tenantId", description = "租户")
    private Long tenantId;

    /**
     * 唯一码
     */
    @Schema(name = "code", description = "唯一码")
    private String code;

    /**
     * 姓名
     */
    @Schema(name = "name", description = "姓名")
    private String name;

    /**
     * 性别 0-女 1-男
     */
    @Schema(name = "sex", description = "性别")
    private Boolean sex;

    /**
     * 年龄
     */
    @Schema(name = "age", description = "年龄")
    private Integer age;

    /**
     * 出生年月
     */
    @Schema(name = "birthday", description = "出生年月")
    private Date birthday;

    /**
     * 联系方式
     */
    @Schema(name = "phone", description = "联系方式")
    private String phone;

    /**
     * 邮箱
     */
    @Schema(name = "mail", description = "邮箱")
    private String mail;

}
